﻿@model RotaractProjectCalendar.Models.Project

@{
    ViewBag.Title = "Usuń";
}

<h2>Usuń</h2>

<h3>Jesteś pewien, że chcesz usunąć ten projekt?</h3>
<div>
    <h4>Projekt</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.ProjectTitle)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ProjectTitle)
        </dd>

        <dd>
            <img src="@Url.Content(Model.Photo)" class="center-block img-circle img-responsive" alt="Project photo" />
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Description)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Description)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StartDateTime)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StartDateTime)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.EndDateTime)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.EndDateTime)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Location)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Location)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.City.CityName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.City.CityName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Coordinator.Name)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Coordinator.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Club.ClubTitle)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Club.ClubTitle)
        </dd>

    </dl>

    @using(Html.BeginForm())
    {
        @Html.AntiForgeryToken()

        <div>
            <input type="submit" name="Delete" value="Usuń" class="btn btn-default" /> |
            @Html.ActionLink("Powrót", "Index")
        </div>
    }
</div>
